package priv.dajie.tzzq.bot.model;

import priv.dajie.tzzq.model.QualityName;

public class PackItem {
    private QualityName qualityName;
    private String steamName;
    private String id;
    private boolean exception = false;

    public PackItem(QualityName qualityName, String steamName, String id) {
        this.qualityName = qualityName;
        this.steamName = steamName;
        this.id = id;
    }

    public PackItem(QualityName qualityName, String steamName, String id, boolean exception) {
        this.qualityName = qualityName;
        this.steamName = steamName;
        this.id = id;
        this.exception = exception;
    }

    public QualityName getName() {
        return qualityName;
    }

    public String getSteamName() {
        return steamName;
    }

    public String getId() {
        return id;
    }

    public boolean isException() {
        return exception;
    }

    @Override
    public String toString() {
        return qualityName.getName() + " | " + qualityName.getQuality() + " | " + steamName+ " | " +id + " | "+ exception;
    }
}
